Tables [dbo].[BatchActionRef]
Properties
PropertyValue
Created10:31:14 AM Tuesday, March 02, 2010
Last Modified3:54:38 PM Wednesday, March 07, 2012
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_BatchActionRef: BatchActionCodeBatchActionCodeint4
No
Indexes AK_BatchActionRef_BatchActionDesc: BatchActionDescBatchActionDescnvarchar(30)60
No
Indexes AK_BatchActionRef_BatchActionName: BatchActionNameBatchActionNamenvarchar(20)40
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_BatchActionRef: BatchActionCodePK_BatchActionRefBatchActionCode
Yes
AK_BatchActionRef_BatchActionDescBatchActionDesc
Yes
AK_BatchActionRef_BatchActionNameBatchActionName
Yes
SQL Script
CREATE TABLE [dbo].[BatchActionRef]
(
[BatchActionCode] [int] NOT NULL,
[BatchActionDesc] [nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[BatchActionName] [nvarchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[BatchActionRef] ADD CONSTRAINT [PK_BatchActionRef] PRIMARY KEY CLUSTERED ([BatchActionCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BatchActionRef] ADD CONSTRAINT [AK_BatchActionRef_BatchActionDesc] UNIQUE NONCLUSTERED ([BatchActionDesc]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BatchActionRef] ADD CONSTRAINT [AK_BatchActionRef_BatchActionName] UNIQUE NONCLUSTERED ([BatchActionName]) ON [PRIMARY]
GO
Uses